﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ETRobocon.RaceTraking.GameManagement
{
    public interface IRunnerStatusNotifier
    {
        event RunnerStatusChangedEventHandler RunnerStatusChanged;
    }


    public delegate void RunnerStatusChangedEventHandler(object sender, RunnerStatusChangedEventArgs args);

    public class RunnerStatusChangedEventArgs : EventArgs
    {
        public RunnerStatusChangedEventArgs(WSRunner.CourseName couseName, WSRunner.RunnerStatus runnerStatus)
        {
            RunnerStatus = runnerStatus;
        }

        public WSRunner.CourseName CourseName
        {
            get;
            set;
        }
        public WSRunner.RunnerStatus RunnerStatus
        {
            get;
            set;
        }

    }
}
